package dymnd.ui;

import java.awt.Color;
import java.awt.Frame;

import javax.swing.JDialog;
import javax.swing.JTabbedPane;

import dymnd.plugin.PBus;
import dymnd.ui.color.SwatchPanel;
public class ColorDialog extends JDialog{
	Color primaryColor = Color.black;
	
	public ColorDialog(Frame f, PBus bus)	{
		super(f);
		JTabbedPane pane = new JTabbedPane();
		
		
		SwatchPanel panel = new SwatchPanel();
		//c.setSize(500, 500);
		//c.setLocation(10, 10);
		panel.repaint();
		
		HSBColorChooser hsb = new HSBColorChooser(bus);
		
		pane.addTab("Swatches", panel);
		pane.addTab("HSB", hsb);
		getContentPane().add(pane);
	}
	
}
